﻿using System;
namespace Travel.Model
{
	/// <summary>
	/// banner:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class banner
	{
		public banner()
		{}
		#region Model
		private int _id;
		private string _page_name;
		private string _display_name;
		private int _type;
		private DateTime _created_on;
		private string _created_by;
		private DateTime? _changed_on;
		private string _changed_by;
		/// <summary>
		/// 主键
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 页面名称
		/// </summary>
		public string page_name
		{
			set{ _page_name=value;}
			get{return _page_name;}
		}
		/// <summary>
		/// 显示名称，如果要求显示单一title则显示此项
		/// </summary>
		public string display_name
		{
			set{ _display_name=value;}
			get{return _display_name;}
		}
		/// <summary>
		/// 1 image 2 flash
		/// </summary>
		public int type
		{
			set{ _type=value;}
			get{return _type;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime created_on
		{
			set{ _created_on=value;}
			get{return _created_on;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string created_by
		{
			set{ _created_by=value;}
			get{return _created_by;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? changed_on
		{
			set{ _changed_on=value;}
			get{return _changed_on;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string changed_by
		{
			set{ _changed_by=value;}
			get{return _changed_by;}
		}
		#endregion Model

	}
}

